/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package servicios.init;

import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;



/**
 *
 * @author epl
 */
public class Install {

    public static void main(String[] args) {
        core(args);
    }

    private static void core (String[] args) {
        EntityManagerFactory emf = Persistence.createEntityManagerFactory("Start");
        EntityManager em = emf.createEntityManager();
        em.getTransaction().begin();
        em.getTransaction().commit();
    }
}
